﻿@{
    Layout = null;
}
@using TjZheng.Power.DataEntity;
@inherits CMSWebViewPage<List<PowerInfo>>

@if (Model.IsNoNull())
{
    foreach (var objPowerInfo in Model)
    { 
    <div title="@objPowerInfo.PowerName" data-options="iconCls:'@objPowerInfo.Icon'">
        <ul class="easyui-tree" data-options="url:'/GroupInfo/@(objPowerInfo.Id == 2 ? "UserPowerInfoChildrenWithoutButton" : "UserPowerInfoTreeListJson")/@objPowerInfo.Id',onClick:CreatePage,animate:true,lines:true"></ul>
    </div>
    }
}